import Http from "../http";

export const menuSave = function(menuForm: any) {
	return Http.post('/menu/save', menuForm)
}

export const menu = function() {
	return Http.get('/menu/getListData?parentId=-1')
}

export const menuDel = function(menuId: any) {
	return Http.post('/menu/delete?id='+menuId)
}